Automattic\WooCommerce\Admin\Notes\WooSubscriptionsNotes A

Total Complexity 60
Dependencies 5
Dependents 1
Total lines 441
Lines of code 278
Logical lines of code 171
Comment lines 99
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
add_or_update_subscription_expiring()
A
41 8 56
update_option_woocommerce_helper_data()
A
53 10 22
refresh_subscription_notes()
A
49 7 31
add_or_update_subscription_expired()
S
45 4 45
admin_init()
S
56 5 18
get_subscription_active_product_ids()
S
58 5 16
prune_inactive_subscription_notes()
S
59 4 14
find_note_for_product_id()
S
60 3 13
check_connection()
S
63 3 11
add_no_connection_note()
S
58 1 16
delete_any_note_for_product_id()
S
70 2 7
get_connected_site_id()
S
68 2 7
get_product_id_from_subscription_note()
S
69 2 7
get_bump_thresholds()
S
78 1 3
__construct()
S
75 1 4
is_connected()
S
74 1 4
remove_notes()
S
77 1 4